1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'imageName '/"' AND (site_id=1 OR site_id=0)' at line 1

SELECT pages_id FROM pages WHERE page_name='js/"' imageName '/"' AND (site_id=1 OR site_id=0)

DATABASE_TEP_DB_ERROR